package com.zbkj.crmeb.category.request;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分类表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2020-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_category")
@ApiModel(value="Category对象", description="分类表")
public class CategorySearchRequest implements Serializable {

    private static final long serialVersionUID=1L;

    private List<Integer> ids;
    
    @ApiModelProperty(value = "父级ID")
    private Integer pid;

    @ApiModelProperty(value = "分类名称")
    private String name;

    @ApiModelProperty(value = "类型ID | 类型，1 产品分类，2 附件分类，3 文章分类， 4 设置分类， 5 菜单分类， 6 配置分类， 7 秒杀配置 8: buyer分类 9: Europe分类 10: Tmall分类")
    private Integer type;

    @ApiModelProperty(value = "状态, 1正常，0失效")
    private Boolean status;

    @ApiModelProperty(value = "推荐首页(0:不推荐 1:推荐)")
    private Integer isAdvice;
}
